// Copyright 2017 The Kubernetes Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

@import '../variables';

.kd-error-view-header {
  color: $foreground-2;
}

.kd-error-view-icon {
  display: inline-flex;
  font-size: $headline-font-size-base;
  line-height: 4 * $baseline-grid;
  margin-right: $baseline-grid;
  vertical-align: top;
}

.kd-error-feedback-button {
  margin: $baseline-grid 0;
}

.kd-error-spacer {
  padding-bottom: $baseline-grid;
}

.kd-error-center-fixed {
  align-content: center;
  align-items: center;
  display: flex;
  justify-content: center;
  padding-top: 48px;
  position: absolute;
  width: 100%;
}

.kd-error-block {
  background-color: $content-background;
  border: 1px solid $border;
  border-radius: $baseline-grid / 4;
  box-shadow: $whiteframe-shadow-1dp;
  display: block;
  padding: (1.5 * $baseline-grid) (3.5 * $baseline-grid);
}
